﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ToExecl.aspx.cs" Inherits="OA.Web.ToExecl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="themes/icon.css" rel="stylesheet" type="text/css" />

    <script src="JScript/jquery-1.6.min.js" type="text/javascript"></script>

    <script src="JScript/jquery.easyui.min.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            $("#Button1").bind("click",function() {
                $.ajax({
                    dataType: 'json',
                    async: false,
                    url: "Handler/DateExecelExport.ashx",
                    type: "post",
                    success: function(data) {
                        msgShow('系统提示', data.msg, 'info');
                    },
                    error: function(data) {
                        msgShow('系统提示', data.msg, 'warning');
                    }
                });
            });

        });
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <input id="Button1" type="button" value="数据导出" /></div>
    </form>
</body>
</html>
